Delete Image
Command Prototype
Excel.DeleteImage(objExcelWorkBook,sheet,objPic)
Command Description
Delete the specified image in the sheet. If the image is passed as a number, it will be positioned in the order of insertion; if a string is passed in, the image will be positioned by its name
Parameter Description
- Required Parameter
- objExcelWorkBook--Excel workbook object (workbook opened with "Open Excel" command (Excel.OpenExcel))
- sheet--If a string is used, it refers to the name of the specified sheet; if a number is used, it refers to the index of the specified sheet (starting from 0)
- objPic--The sequence (starting from 0) or name of the image to be deleted